package com.qinhao.loveCrowdFunding.mapper;

import java.util.List;

import com.qinhao.loveCrowdFunding.pojo.CanReportQueryBO;
import com.qinhao.loveCrowdFunding.req.CanReportQueryRequest;
import com.qinhao.loveCrowdFunding.req.ReportRequest;
import com.qinhao.loveCrowdFunding.req.SimpleInfoRequest;
import org.apache.ibatis.annotations.Mapper;

import com.qinhao.loveCrowdFunding.pojo.SimpleInformationBO;
import com.qinhao.loveCrowdFunding.pojo.SimpleInformationStatusBO;
import com.qinhao.loveCrowdFunding.pojo.TelephoneNumberBO;
import com.qinhao.loveCrowdFunding.req.DeleteMySimpleRequest;

@Mapper
public interface SimpleInformationMapper {
    List<SimpleInformationBO> getAllSimpleInformation();
    TelephoneNumberBO getTelephoneNumber(int userID);
    SimpleInformationStatusBO getSimpleInformationStatus(int id);
    void deleteSimpleInformationById(DeleteMySimpleRequest deleteMySimpleRequest);
    List<SimpleInformationBO> getMySimpleInformation(SimpleInfoRequest simpleInfoRequest);
    // 根据simpleInformation的id加入举报内容
    void addReportContentBySimpleInformationId(ReportRequest reportRequest);
    // 修改众筹状态为2
    void convertStatusToReport(ReportRequest reportRequest);
    // 获取举报记录
    CanReportQueryBO getReport(CanReportQueryRequest canReportQueryRequest);
    // 获取积分余额
    CanReportQueryBO getIntergral(CanReportQueryRequest canReportQueryRequest);
}
